package com.yida.gwj.expend.service.impl;

import com.yida.common.core.utils.PageUtils;
import com.yida.common.core.web.page.TableDataInfo;
import com.yida.gwj.expend.domain.request.GwjOldSystemQueryRequest;
import com.yida.gwj.expend.mapper.GwjOldSystemMapper;
import com.yida.gwj.expend.service.IGwjOldSystemService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: PPV
 * @Date: 2023-03-15
 */
@Service
public class GwjOldSystemServiceImpl implements IGwjOldSystemService {

    @Resource
    private GwjOldSystemMapper oldSystemMapper;

    @Override
    public TableDataInfo getMaintenanceFundSplit(GwjOldSystemQueryRequest request) {
        PageUtils.startPage();
        return PageUtils.getDataTable(oldSystemMapper.getMaintenanceFundSplit(request));
    }

    @Override
    public TableDataInfo getGwjExpenditure(GwjOldSystemQueryRequest request) {
        PageUtils.startPage();
        return PageUtils.getDataTable(oldSystemMapper.getGwjExpenditure(request));
    }


}
